import { RMIProxyObject } from "../../Engine/RMI/RMIProxyObject";
import { IPetPrx } from "./IPetPrx";
import { AMI_IPet_accelerateTrainPet } from "./AMI_IPet_accelerateTrainPet";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { Outgoing } from "../../Engine/RMI/Outgoing";
import { AMI_IPet_activatePet } from "./AMI_IPet_activatePet";
import { AMI_IPet_activatePetCollectAttr } from "./AMI_IPet_activatePetCollectAttr";
import { AMI_IPet_addPetBless } from "./AMI_IPet_addPetBless";
import { SeqStringHelper } from "../Public/SeqStringHelper";
import { AMI_IPet_addPetExploreMaxTimes } from "./AMI_IPet_addPetExploreMaxTimes";
import { AMI_IPet_changePetModel } from "./AMI_IPet_changePetModel";
import { AMI_IPet_changePetModelEx } from "./AMI_IPet_changePetModelEx";
import { AMI_IPet_changePetName } from "./AMI_IPet_changePetName";
import { AMI_IPet_changePetStatus } from "./AMI_IPet_changePetStatus";
import { EPetStatus } from "./EPetStatus";
import { AMI_IPet_changePetUpgradeModel } from "./AMI_IPet_changePetUpgradeModel";
import { AMI_IPet_deactivatePet } from "./AMI_IPet_deactivatePet";
import { AMI_IPet_digPetSkill } from "./AMI_IPet_digPetSkill";
import { AMI_IPet_drawPetExploreRewards } from "./AMI_IPet_drawPetExploreRewards";
import { SeqIntHelper } from "../Public/SeqIntHelper";
import { AMI_IPet_dress } from "./AMI_IPet_dress";
import { AMI_IPet_eatLifeSpanDrug } from "./AMI_IPet_eatLifeSpanDrug";
import { AMI_IPet_eatPetEggs } from "./AMI_IPet_eatPetEggs";
import { AMI_IPet_expandSkills } from "./AMI_IPet_expandSkills";
import { AMI_IPet_expandWarehouse } from "./AMI_IPet_expandWarehouse";
import { AMI_IPet_feedPetSpecailSkill } from "./AMI_IPet_feedPetSpecailSkill";
import { AMI_IPet_firePet } from "./AMI_IPet_firePet";
import { AMI_IPet_forgetPetSkill } from "./AMI_IPet_forgetPetSkill";
import { AMI_IPet_getBackPet } from "./AMI_IPet_getBackPet";
import { AMI_IPet_getBackStoragePet } from "./AMI_IPet_getBackStoragePet";
import { AMI_IPet_getLevyList } from "./AMI_IPet_getLevyList";
import { AMI_IPet_getMyPetStorageInfo } from "./AMI_IPet_getMyPetStorageInfo";
import { AMI_IPet_getPetBloodInfo } from "./AMI_IPet_getPetBloodInfo";
import { AMI_IPet_getPetModelList } from "./AMI_IPet_getPetModelList";
import { AMI_IPet_getPetSkillProp } from "./AMI_IPet_getPetSkillProp";
import { AMI_IPet_getPetSpecailSkillInfo } from "./AMI_IPet_getPetSpecailSkillInfo";
import { AMI_IPet_getPlayerPetInfo } from "./AMI_IPet_getPlayerPetInfo";
import { AMI_IPet_getReincarnateAttributeShow } from "./AMI_IPet_getReincarnateAttributeShow";
import { AMI_IPet_groupPetSire } from "./AMI_IPet_groupPetSire";
import { EPetSireOperation } from "../Public/EPetSireOperation";
import { SEntityId } from "../Public/SEntityId";
import { AMI_IPet_learnPetSpecailSkill } from "./AMI_IPet_learnPetSpecailSkill";
import { AMI_IPet_learnSkill } from "./AMI_IPet_learnSkill";
import { AMI_IPet_lookOverPlayerPet } from "./AMI_IPet_lookOverPlayerPet";
import { AMI_IPet_lookOverWarehousePet } from "./AMI_IPet_lookOverWarehousePet";
import { AMI_IPet_makePetSkillProp } from "./AMI_IPet_makePetSkillProp";
import { AMI_IPet_matchPet } from "./AMI_IPet_matchPet";
import { AMI_IPet_openPetExploreArea } from "./AMI_IPet_openPetExploreArea";
import { AMI_IPet_pauseAutoPetExplore } from "./AMI_IPet_pauseAutoPetExplore";
import { AMI_IPet_petMerge } from "./AMI_IPet_petMerge";
import { AMI_IPet_petMergePreview } from "./AMI_IPet_petMergePreview";
import { AMI_IPet_petReincarnate } from "./AMI_IPet_petReincarnate";
import { AMI_IPet_petTrainInfo } from "./AMI_IPet_petTrainInfo";
import { AMI_IPet_petXisui } from "./AMI_IPet_petXisui";
import { AMI_IPet_randPetSkillProp } from "./AMI_IPet_randPetSkillProp";
import { AMI_IPet_recoverPetModel } from "./AMI_IPet_recoverPetModel";
import { AMI_IPet_refreshGrowth } from "./AMI_IPet_refreshGrowth";
import { AMI_IPet_refreshGrowthEx } from "./AMI_IPet_refreshGrowthEx";
import { AMI_IPet_refreshGrowthTask } from "./AMI_IPet_refreshGrowthTask";
import { AMI_IPet_sealPetSkill } from "./AMI_IPet_sealPetSkill";
import { AMI_IPet_setPetExploreOrder } from "./AMI_IPet_setPetExploreOrder";
import { AMI_IPet_sirePet } from "./AMI_IPet_sirePet";
import { AMI_IPet_startPetExplore } from "./AMI_IPet_startPetExplore";
import { AMI_IPet_storage } from "./AMI_IPet_storage";
import { AMI_IPet_storeWarehousePet } from "./AMI_IPet_storeWarehousePet";
import { AMI_IPet_strengthenSpirit } from "./AMI_IPet_strengthenSpirit";
import { AMI_IPet_strengthenSpiritEx } from "./AMI_IPet_strengthenSpiritEx";
import { AMI_IPet_takeOutWarehousePet } from "./AMI_IPet_takeOutWarehousePet";
import { AMI_IPet_tidyPetSkills } from "./AMI_IPet_tidyPetSkills";
import { AMI_IPet_trainPet } from "./AMI_IPet_trainPet";
import { AMI_IPet_undress } from "./AMI_IPet_undress";
import { AMI_IPet_unsealPetSkill } from "./AMI_IPet_unsealPetSkill";
import { AMI_IPet_updateSkill } from "./AMI_IPet_updateSkill";
import { AMI_IPet_upgradePetBlood } from "./AMI_IPet_upgradePetBlood";
import { AMI_IPet_usePetBless } from "./AMI_IPet_usePetBless";
import { AMI_IPet_usePetExploreCard } from "./AMI_IPet_usePetExploreCard";
import { AMI_IPet_usePetSkill } from "./AMI_IPet_usePetSkill";
import { SFightTo } from "../Public/SFightTo";
import { AMI_IPet_usePetSpecailSkill } from "./AMI_IPet_usePetSpecailSkill";
import { AMI_IPet_watchPetExplore } from "./AMI_IPet_watchPetExplore";
type int = number;
//class IPetPrxHelper
    
    export  class IPetPrxHelper extends RMIProxyObject implements IPetPrx
    {
        constructor()
        {
            
            super();name = "IPet";
            return;
        }

        public accelerateTrainPet_async(arg1: AMI_IPet_accelerateTrainPet, arg2: string, arg3: int, arg4: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("accelerateTrainPet");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeInt(arg3);
            loc3.writeBool(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public activatePet_async(arg1: AMI_IPet_activatePet, arg2: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("activatePet");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public activatePetCollectAttr_async(arg1: AMI_IPet_activatePetCollectAttr, arg2: int, arg3: Boolean, arg4: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("activatePetCollectAttr");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeBool(arg3);
            loc3.writeBool(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public addPetBless_async(arg1: AMI_IPet_addPetBless, arg2: string, arg3: Array<any>, arg4: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("addPetBless");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            SeqStringHelper.write(loc3, arg3);
            loc3.writeBool(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public addPetExploreMaxTimes_async(arg1: AMI_IPet_addPetExploreMaxTimes, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("addPetExploreMaxTimes");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public changePetModel_async(arg1: AMI_IPet_changePetModel, arg2: string, arg3: string, arg4: string, arg5: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("changePetModel");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeString(arg3);
            loc3.writeString(arg4);
            loc3.writeInt(arg5);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public changePetModelEx_async(arg1: AMI_IPet_changePetModelEx, arg2: string, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("changePetModelEx");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public changePetName_async(arg1: AMI_IPet_changePetName, arg2: string, arg3: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("changePetName");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeString(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public changePetStatus_async(arg1: AMI_IPet_changePetStatus, arg2: string, arg3: EPetStatus): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("changePetStatus");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            arg3.__write(loc3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public changePetUpgradeModel_async(arg1: AMI_IPet_changePetUpgradeModel, arg2: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("changePetUpgradeModel");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public deactivatePet_async(arg1: AMI_IPet_deactivatePet, arg2: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("deactivatePet");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public digPetSkill_async(arg1: AMI_IPet_digPetSkill, arg2: string, arg3: string, arg4: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("digPetSkill");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeString(arg3);
            loc3.writeInt(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public drawPetExploreRewards_async(arg1: AMI_IPet_drawPetExploreRewards, arg2: Array<any>): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("drawPetExploreRewards");
            var loc3=new SerializeStream();
            SeqIntHelper.write(loc3, arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public dress_async(arg1: AMI_IPet_dress, arg2: string, arg3: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("dress");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeString(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public eatLifeSpanDrug_async(arg1: AMI_IPet_eatLifeSpanDrug, arg2: string, arg3: string, arg4: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("eatLifeSpanDrug");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeString(arg3);
            loc3.writeInt(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public eatPetEggs_async(arg1: AMI_IPet_eatPetEggs, arg2: string, arg3: Array<any>): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("eatPetEggs");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            SeqStringHelper.write(loc3, arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public expandSkills_async(arg1: AMI_IPet_expandSkills, arg2: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("expandSkills");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public expandWarehouse_async(arg1: AMI_IPet_expandWarehouse, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("expandWarehouse");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public feedPetSpecailSkill_async(arg1: AMI_IPet_feedPetSpecailSkill, arg2: string, arg3: int, arg4: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("feedPetSpecailSkill");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeInt(arg3);
            loc3.writeInt(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public firePet_async(arg1: AMI_IPet_firePet, arg2: string, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("firePet");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public forgetPetSkill_async(arg1: AMI_IPet_forgetPetSkill, arg2: string, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("forgetPetSkill");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getBackPet_async(arg1: AMI_IPet_getBackPet, arg2: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getBackPet");
            var loc3;
            (loc3 = new SerializeStream()).writeBool(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getBackStoragePet_async(arg1: AMI_IPet_getBackStoragePet): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getBackStoragePet");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getLevyList_async(arg1: AMI_IPet_getLevyList): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getLevyList");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getMyPetStorageInfo_async(arg1: AMI_IPet_getMyPetStorageInfo): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getMyPetStorageInfo");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getPetBloodInfo_async(arg1: AMI_IPet_getPetBloodInfo, arg2: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getPetBloodInfo");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getPetModelList_async(arg1: AMI_IPet_getPetModelList): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getPetModelList");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getPetSkillProp_async(arg1: AMI_IPet_getPetSkillProp, arg2: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getPetSkillProp");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getPetSpecailSkillInfo_async(arg1: AMI_IPet_getPetSpecailSkillInfo, arg2: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getPetSpecailSkillInfo");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getPlayerPetInfo_async(arg1: AMI_IPet_getPlayerPetInfo, arg2: int, arg3: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getPlayerPetInfo");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeString(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getReincarnateAttributeShow_async(arg1: AMI_IPet_getReincarnateAttributeShow, arg2: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getReincarnateAttributeShow");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public groupPetSire_async(arg1: AMI_IPet_groupPetSire, arg2: EPetSireOperation, arg3: SEntityId, arg4: string, arg5: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("groupPetSire");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            arg3.__write(loc3);
            loc3.writeString(arg4);
            loc3.writeString(arg5);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public learnPetSpecailSkill_async(arg1: AMI_IPet_learnPetSpecailSkill, arg2: string, arg3: string, arg4: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("learnPetSpecailSkill");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeString(arg3);
            loc3.writeInt(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public learnSkill_async(arg1: AMI_IPet_learnSkill, arg2: string, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("learnSkill");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public lookOverPlayerPet_async(arg1: AMI_IPet_lookOverPlayerPet, arg2: int, arg3: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("lookOverPlayerPet");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeString(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public lookOverWarehousePet_async(arg1: AMI_IPet_lookOverWarehousePet, arg2: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("lookOverWarehousePet");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public makePetSkillProp_async(arg1: AMI_IPet_makePetSkillProp, arg2: string, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("makePetSkillProp");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public matchPet_async(arg1: AMI_IPet_matchPet, arg2: int, arg3: string, arg4: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("matchPet");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeString(arg3);
            loc3.writeString(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public openPetExploreArea_async(arg1: AMI_IPet_openPetExploreArea): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("openPetExploreArea");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public pauseAutoPetExplore_async(arg1: AMI_IPet_pauseAutoPetExplore): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("pauseAutoPetExplore");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public petMerge_async(arg1: AMI_IPet_petMerge, arg2: string, arg3: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("petMerge");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeString(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public petMergePreview_async(arg1: AMI_IPet_petMergePreview, arg2: string, arg3: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("petMergePreview");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeString(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public petReincarnate_async(arg1: AMI_IPet_petReincarnate, arg2: string, arg3: Boolean, arg4: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("petReincarnate");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeBool(arg3);
            loc3.writeBool(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public petTrainInfo_async(arg1: AMI_IPet_petTrainInfo): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("petTrainInfo");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public petXisui_async(arg1: AMI_IPet_petXisui, arg2: string, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("petXisui");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public randPetSkillProp_async(arg1: AMI_IPet_randPetSkillProp, arg2: string, arg3: int, arg4: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("randPetSkillProp");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeInt(arg3);
            loc3.writeInt(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public recoverPetModel_async(arg1: AMI_IPet_recoverPetModel, arg2: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("recoverPetModel");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public refreshGrowth_async(arg1: AMI_IPet_refreshGrowth, arg2: string, arg3: Array<any>, arg4: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("refreshGrowth");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            SeqStringHelper.write(loc3, arg3);
            loc3.writeBool(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public refreshGrowthEx_async(arg1: AMI_IPet_refreshGrowthEx, arg2: string, arg3: Boolean, arg4: int, arg5: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("refreshGrowthEx");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeBool(arg3);
            loc3.writeInt(arg4);
            loc3.writeInt(arg5);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public refreshGrowthTask_async(arg1: AMI_IPet_refreshGrowthTask, arg2: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("refreshGrowthTask");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public sealPetSkill_async(arg1: AMI_IPet_sealPetSkill, arg2: string, arg3: string, arg4: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("sealPetSkill");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeString(arg3);
            loc3.writeInt(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public setPetExploreOrder_async(arg1: AMI_IPet_setPetExploreOrder, arg2: Array<any>): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("setPetExploreOrder");
            var loc3=new SerializeStream();
            SeqStringHelper.write(loc3, arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public sirePet_async(arg1: AMI_IPet_sirePet, arg2: string, arg3: string, arg4: string, arg5: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("sirePet");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeString(arg3);
            loc3.writeString(arg4);
            loc3.writeString(arg5);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public startPetExplore_async(arg1: AMI_IPet_startPetExplore, arg2: int, arg3: Boolean, arg4: Boolean, arg5: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("startPetExplore");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeBool(arg3);
            loc3.writeBool(arg4);
            loc3.writeInt(arg5);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public storage_async(arg1: AMI_IPet_storage, arg2: string, arg3: int, arg4: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("storage");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeInt(arg3);
            loc3.writeInt(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public storeWarehousePet_async(arg1: AMI_IPet_storeWarehousePet, arg2: int, arg3: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("storeWarehousePet");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeString(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public strengthenSpirit_async(arg1: AMI_IPet_strengthenSpirit, arg2: string, arg3: Array<any>, arg4: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("strengthenSpirit");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            SeqStringHelper.write(loc3, arg3);
            loc3.writeBool(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public strengthenSpiritEx_async(arg1: AMI_IPet_strengthenSpiritEx, arg2: string, arg3: Boolean, arg4: int, arg5: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("strengthenSpiritEx");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeBool(arg3);
            loc3.writeInt(arg4);
            loc3.writeInt(arg5);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public takeOutWarehousePet_async(arg1: AMI_IPet_takeOutWarehousePet, arg2: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("takeOutWarehousePet");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public tidyPetSkills_async(arg1: AMI_IPet_tidyPetSkills): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("tidyPetSkills");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public trainPet_async(arg1: AMI_IPet_trainPet, arg2: string, arg3: int, arg4: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("trainPet");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeInt(arg3);
            loc3.writeInt(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public undress_async(arg1: AMI_IPet_undress, arg2: string, arg3: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("undress");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeString(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public unsealPetSkill_async(arg1: AMI_IPet_unsealPetSkill, arg2: string, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("unsealPetSkill");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public updateSkill_async(arg1: AMI_IPet_updateSkill, arg2: string, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("updateSkill");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public upgradePetBlood_async(arg1: AMI_IPet_upgradePetBlood, arg2: string, arg3: int, arg4: int, arg5: int, arg6: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("upgradePetBlood");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeInt(arg3);
            loc3.writeInt(arg4);
            loc3.writeInt(arg5);
            loc3.writeBool(arg6);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public usePetBless_async(arg1: AMI_IPet_usePetBless, arg2: string, arg3: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("usePetBless");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeBool(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public usePetExploreCard_async(arg1: AMI_IPet_usePetExploreCard, arg2: string, arg3: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("usePetExploreCard");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeBool(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public usePetSkill_async(arg1: AMI_IPet_usePetSkill, arg2: SFightTo): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("usePetSkill");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public usePetSpecailSkill_async(arg1: AMI_IPet_usePetSpecailSkill, arg2: string, arg3: int, arg4: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("usePetSpecailSkill");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeInt(arg3);
            loc3.writeInt(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public watchPetExplore_async(arg1: AMI_IPet_watchPetExplore, arg2: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("watchPetExplore");
            var loc3;
            (loc3 = new SerializeStream()).writeBool(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public static /* const */NAME: string="Message.Game.IPet";
    }
